package com.googlecode.smartbinding.framework.core;

/**
 * Binding unit. Represents a link between a source object property and a target object property
 *
 * @author Iulian Dumitru
 */
public interface BindingUnit {

    /**
     * Retrieve the property descriptor.
     *
     * @return the property descriptor.
     */
    PropertyDescriptor getSourcePropertyDescriptor();

    /**
     * Get target property descriptor.
     *
     * @return target the property descriptor.
     */
    PropertyDescriptor getTargetPropertyDescriptor();

}
